module.exports = {
  lintOnSave: false,
  publicPath: process.env.BASE_URL,
  productionSourceMap: false,
  configureWebpack: {
    devtool: 'source-map',
  },
  css: {
    loaderOptions: {
      sass: {
        additionalData: `@import "@/styles/_variables.scss";`,
      },
    },
  },
  outputDir: 'html',
  devServer: {
    port: 8080,
    proxy: {
      '/api': {
        //target: 'http://10.40.50.14:32470/',
        target: 'http://10.40.50.14:32241',
        secure: true,
        ws: true,
        pathRewrite: {
          '^/api': '',
        },
      },
    },
  },
};
